package com.example.android.common;

import android.app.Activity;
import android.content.Intent;

public class MenuControlIF {

	/*
	 * Go to next screen
	 * */
	public static void Forward(Activity currentActivity, Class nextClass){
		if ((null == currentActivity) || (null == nextClass)) {
			return;
		}
		
		Intent intent = new Intent();
		intent.setClass(currentActivity, nextClass);
		
		// Statr new activity
		currentActivity.startActivity(intent);

	}
}
